Skip to main content

PropertyOfScriptObject

Type​

operator

Summary​

The property of a script object. Set:The name of the custom property set to access

Syntax​

property <Property> of <Object>

Description​

Use to manipulate properties of a script object.

note

An error is thrown if the script object does not exist.

note

An error is thrown if this syntax is used in a context where access to script objects is not allowed.

Parameters​

NameTypeDescription

Property

The name of the property to manipulate

Object

An expression that evaluates to a ScriptObject.

Examples​

public handler OnMouseUp() returns nothing
set property "name" of my script object to "Clicked Widget"
end handler
resolve script object "this stack"
set property "invisible" of the result to true
get property "script" of my script object
get property "customProp" of set "cMyCustomPropertySet" of my script object
Thank you for your feedback!

Was this page helpful?